<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Repetier-Firmware: src/ArduinoAVR/Repetier/ui.cpp File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="repetier-logo-trans128.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Repetier-Firmware
   &#160;<span id="projectnumber">0.91</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('ui_8cpp.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">src/ArduinoAVR/Repetier/ui.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_repetier_8h_source.html">Repetier.h</a>&quot;</code><br/>
<code>#include &lt;math.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;inttypes.h&gt;</code><br/>
<code>#include &lt;ctype.h&gt;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a18b97b32e277e5cc9178cf4d56f62b1d">UI_MAIN</a></td></tr>
<tr><td colspan="2"><div class="groupHeader">ENTRYMODES</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a>&#160;&#160;&#160;0x04</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a>&#160;&#160;&#160;0x04</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a39d1b2b516dc1d91680b427a21576cbd">LCD_INCREASE</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a> | 0x02</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a27ea501fc15a184256d26a87568fe12e">LCD_DECREASE</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a> | 0x00</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#aaa223772fb2e3adc94ff439628f60054">LCD_DISPLAYSHIFTON</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a> | 0x01</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#afba3f19c801c99fc991eee0b587a32e1">LCD_DISPLAYSHIFTOFF</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a> | 0x00</td></tr>
<tr><td colspan="2"><div class="groupHeader">GENERAL COMMANDS</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a6aa8aa2057294b7d06088e834299b369">LCD_CLEAR</a>&#160;&#160;&#160;0x01</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#ae0e309ccad89222eb3457f2da9f2bb8d">LCD_HOME</a>&#160;&#160;&#160;0x02</td></tr>
<tr><td colspan="2"><div class="groupHeader">DISPLAYMODES</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a>&#160;&#160;&#160;0x08</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a76236ae8317b34bbc98ea56bc0a2639c">LCD_DISPLAYON</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x04</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a257ebe775cac7140cf82aa40d8ce545a">LCD_DISPLAYOFF</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x00</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#ab67f0adccde68de88eee0513fdfc4574">LCD_CURSORON</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x02</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a32b194a3adaa0a0bb69acee2e6a754fa">LCD_CURSOROFF</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x00</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#ad660d79279013ae4d6564fe81b506de0">LCD_BLINKINGON</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x01</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#ad0ec5ed08440f3e3dcf1aad7aba1684a">LCD_BLINKINGOFF</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x00</td></tr>
<tr><td colspan="2"><div class="groupHeader">SHIFTMODES</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a5113b6e7fd93bd208cc7069593e22f1a">LCD_SHIFTMODE</a>&#160;&#160;&#160;0x10</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a81e31d79eee716bfafcb39c30e44d00d">LCD_DISPLAYSHIFT</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a5113b6e7fd93bd208cc7069593e22f1a">LCD_SHIFTMODE</a> | 0x08</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#ac21f0302ac4136775877d5f4759e4f74">LCD_CURSORMOVE</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a5113b6e7fd93bd208cc7069593e22f1a">LCD_SHIFTMODE</a> | 0x00</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#ac13e5c4a453bfa9f5e0f52730725b849">LCD_RIGHT</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a5113b6e7fd93bd208cc7069593e22f1a">LCD_SHIFTMODE</a> | 0x04</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#af113696b5954bfa7c1f98f94162f5025">LCD_LEFT</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a5113b6e7fd93bd208cc7069593e22f1a">LCD_SHIFTMODE</a> | 0x00</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a4cdb62ccad20bd76e7ff3da83985b54d">beep</a> (uint8_t duration, uint8_t count)</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#ab0a52fa48d1f24b6cd4d3a439067e178">ui_autoreturn_time</a> = 0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_display.html">UIDisplay</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a03d0d829c6e013e9d5817ed2fdd45a9d">uid</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#adfe2d690c1658419a8668f48b413cee7">displayCache</a> [<a class="el" href="uiconfig_8h.html#abc388782791eea22ff9ca1b2a97c1cd7">UI_ROWS</a>][<a class="el" href="ui_8h.html#a551f71f92f90f76151a3cfc9679271a0">MAX_COLS</a>+1]</td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
DISPLAY_CONFIGURATION</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a>&#160;&#160;&#160;0x20</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a57d84af8cf61ceee4eb91db77889f071">LCD_8BIT</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x10</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a31e1c14e8c2845dec3301f0ebd36b43c">LCD_4BIT</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x00</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a7987e93538df2819583ba43b81ddbb25">LCD_2LINE</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x08</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a8c85cf88d8af66a47c42249d81c94641">LCD_1LINE</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x00</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a0c761e458f5fe9dd770fe84a0cc6ca21">LCD_5X10</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x04</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a56aa7f75a7dc7b0ee969ca4c6234ec1d">LCD_5X7</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x00</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#aae6ea856879c11dee58493184582a52f">LCD_SETCGRAMADDR</a>&#160;&#160;&#160;0x40</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a36818100c5fc56342b1e7b3bbc9d81ce">lcdPutChar</a>(value)&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3e561bc77ddcf221aa2915e8fb8eea09">lcdWriteByte</a>(value,1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#aa8ad138d49ec2346d6945e64e3f00d6d">lcdCommand</a>(value)&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3e561bc77ddcf221aa2915e8fb8eea09">lcdWriteByte</a>(value,0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#abcca6b5b17dcbdb20b5a14e96b7181bd">INCREMENT_MIN_MAX</a>(a, steps, _min, _max)&#160;&#160;&#160;a+=increment*steps;if(a&lt;(_min)) a=_min;else if(a&gt;(_max)) a=_max;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int8_t encoder_table[16]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a61abc9bffd735ea18438e5b67051d0dd">PROGMEM</a> = {0,0,-1,0,0,0,0,1,1,0,0,0,0,-1,0,0}</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#af4952426d62b2959a9efef4ba8053d47">printCols</a> [<a class="el" href="ui_8h.html#a551f71f92f90f76151a3cfc9679271a0">MAX_COLS</a>+1]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a195cf99cd3169a22267c9f360eade22f">lcdWriteNibble</a> (uint8_t value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a3e561bc77ddcf221aa2915e8fb8eea09">lcdWriteByte</a> (uint8_t c, uint8_t rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a51abf76c96ed0ae2c505323ecedfc4f9">initializeLCD</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a32b8b6c70243d0639768d33f8d1c6a5b">UI_STRING</a> (ui_text_on, <a class="el" href="uilang_8h.html#aa039bf64c490cd73b1a6e16caa46a4a2">UI_TEXT_ON</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a1111afb97100e43e93fdcf67e7da4288">UI_STRING</a> (ui_text_off, <a class="el" href="uilang_8h.html#a952424f60bfb4a419437255f98efc26b">UI_TEXT_OFF</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#ab3dec4b7077981b28c49f1fac9f0e735">UI_STRING</a> (ui_text_na, <a class="el" href="uilang_8h.html#af11d790de645d7abec8f2d959d3d469b">UI_TEXT_NA</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a3ff1ecdf52b2628ce8f62a41bfc629f3">UI_STRING</a> (ui_yes, <a class="el" href="uilang_8h.html#af875093d60c869d9d220639773e7fe44">UI_TEXT_YES</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#aba99ec5017e73426b1360b75c0310351">UI_STRING</a> (ui_no, <a class="el" href="uilang_8h.html#a3c834a26324a0310259a44a59705dafe">UI_TEXT_NO</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a66750cecff779abda3aef0590c1f7edf">UI_STRING</a> (ui_print_pos, <a class="el" href="uilang_8h.html#aa825a559509ddb0e533cc1ffdd7eff70">UI_TEXT_PRINT_POS</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a72a0495829c704347c568a2e21467825">UI_STRING</a> (ui_selected, <a class="el" href="uilang_8h.html#ab0892f8a2b19d0411d07376cfc5705c4">UI_TEXT_SEL</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#aa95b597ea8b2ef46e3bf9760925a140f">UI_STRING</a> (ui_unselected, <a class="el" href="uilang_8h.html#a6bacecdd8f9768333d535e5506790c0c">UI_TEXT_NOSEL</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ui_8cpp.html#a06d95f9c35dbf3afa1e651d343702d95">UI_STRING</a> (ui_action, <a class="el" href="uilang_8h.html#ab7ca1ef374d0b7ebf55b8586a951f667">UI_TEXT_STRING_ACTION</a>)</td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="abcca6b5b17dcbdb20b5a14e96b7181bd"></a><!-- doxytag: member="ui.cpp::INCREMENT_MIN_MAX" ref="abcca6b5b17dcbdb20b5a14e96b7181bd" args="(a, steps, _min, _max)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#abcca6b5b17dcbdb20b5a14e96b7181bd">INCREMENT_MIN_MAX</a></td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">steps, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_min, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_max&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;a+=increment*steps;if(a&lt;(_min)) a=_min;else if(a&gt;(_max)) a=_max;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8c85cf88d8af66a47c42249d81c94641"></a><!-- doxytag: member="ui.cpp::LCD_1LINE" ref="a8c85cf88d8af66a47c42249d81c94641" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a8c85cf88d8af66a47c42249d81c94641">LCD_1LINE</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x00</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>1 line display </p>

</div>
</div>
<a class="anchor" id="a7987e93538df2819583ba43b81ddbb25"></a><!-- doxytag: member="ui.cpp::LCD_2LINE" ref="a7987e93538df2819583ba43b81ddbb25" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a7987e93538df2819583ba43b81ddbb25">LCD_2LINE</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x08</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>2 line display </p>

</div>
</div>
<a class="anchor" id="a31e1c14e8c2845dec3301f0ebd36b43c"></a><!-- doxytag: member="ui.cpp::LCD_4BIT" ref="a31e1c14e8c2845dec3301f0ebd36b43c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a31e1c14e8c2845dec3301f0ebd36b43c">LCD_4BIT</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x00</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>4 bits interface </p>

</div>
</div>
<a class="anchor" id="a0c761e458f5fe9dd770fe84a0cc6ca21"></a><!-- doxytag: member="ui.cpp::LCD_5X10" ref="a0c761e458f5fe9dd770fe84a0cc6ca21" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a0c761e458f5fe9dd770fe84a0cc6ca21">LCD_5X10</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x04</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>5 X 10 dots </p>

</div>
</div>
<a class="anchor" id="a56aa7f75a7dc7b0ee969ca4c6234ec1d"></a><!-- doxytag: member="ui.cpp::LCD_5X7" ref="a56aa7f75a7dc7b0ee969ca4c6234ec1d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a56aa7f75a7dc7b0ee969ca4c6234ec1d">LCD_5X7</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x00</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>5 X 7 dots </p>

</div>
</div>
<a class="anchor" id="a57d84af8cf61ceee4eb91db77889f071"></a><!-- doxytag: member="ui.cpp::LCD_8BIT" ref="a57d84af8cf61ceee4eb91db77889f071" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a57d84af8cf61ceee4eb91db77889f071">LCD_8BIT</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a> | 0x10</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>8 bits interface </p>

</div>
</div>
<a class="anchor" id="ad0ec5ed08440f3e3dcf1aad7aba1684a"></a><!-- doxytag: member="ui.cpp::LCD_BLINKINGOFF" ref="ad0ec5ed08440f3e3dcf1aad7aba1684a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#ad0ec5ed08440f3e3dcf1aad7aba1684a">LCD_BLINKINGOFF</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x00</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Blinking off </p>

</div>
</div>
<a class="anchor" id="ad660d79279013ae4d6564fe81b506de0"></a><!-- doxytag: member="ui.cpp::LCD_BLINKINGON" ref="ad660d79279013ae4d6564fe81b506de0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#ad660d79279013ae4d6564fe81b506de0">LCD_BLINKINGON</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x01</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Blinking on </p>

</div>
</div>
<a class="anchor" id="a6aa8aa2057294b7d06088e834299b369"></a><!-- doxytag: member="ui.cpp::LCD_CLEAR" ref="a6aa8aa2057294b7d06088e834299b369" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a6aa8aa2057294b7d06088e834299b369">LCD_CLEAR</a>&#160;&#160;&#160;0x01</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clear screen </p>

</div>
</div>
<a class="anchor" id="a41ce4720d45cbc35c3d8b8bbcf0db16b"></a><!-- doxytag: member="ui.cpp::LCD_CONFIGURATION" ref="a41ce4720d45cbc35c3d8b8bbcf0db16b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a41ce4720d45cbc35c3d8b8bbcf0db16b">LCD_CONFIGURATION</a>&#160;&#160;&#160;0x20</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set function </p>

</div>
</div>
<a class="anchor" id="ac21f0302ac4136775877d5f4759e4f74"></a><!-- doxytag: member="ui.cpp::LCD_CURSORMOVE" ref="ac21f0302ac4136775877d5f4759e4f74" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#ac21f0302ac4136775877d5f4759e4f74">LCD_CURSORMOVE</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a5113b6e7fd93bd208cc7069593e22f1a">LCD_SHIFTMODE</a> | 0x00</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Cursor move </p>

</div>
</div>
<a class="anchor" id="a32b194a3adaa0a0bb69acee2e6a754fa"></a><!-- doxytag: member="ui.cpp::LCD_CURSOROFF" ref="a32b194a3adaa0a0bb69acee2e6a754fa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a32b194a3adaa0a0bb69acee2e6a754fa">LCD_CURSOROFF</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x00</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Cursor off </p>

</div>
</div>
<a class="anchor" id="ab67f0adccde68de88eee0513fdfc4574"></a><!-- doxytag: member="ui.cpp::LCD_CURSORON" ref="ab67f0adccde68de88eee0513fdfc4574" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#ab67f0adccde68de88eee0513fdfc4574">LCD_CURSORON</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x02</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Cursor on </p>

</div>
</div>
<a class="anchor" id="a27ea501fc15a184256d26a87568fe12e"></a><!-- doxytag: member="ui.cpp::LCD_DECREASE" ref="a27ea501fc15a184256d26a87568fe12e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a27ea501fc15a184256d26a87568fe12e">LCD_DECREASE</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a> | 0x00</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set cursor move direction -- Decrease </p>

</div>
</div>
<a class="anchor" id="ab308a852199ed6405d3b29fadb59aeaf"></a><!-- doxytag: member="ui.cpp::LCD_DISPLAYMODE" ref="ab308a852199ed6405d3b29fadb59aeaf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a>&#160;&#160;&#160;0x08</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set displaymode </p>

</div>
</div>
<a class="anchor" id="a257ebe775cac7140cf82aa40d8ce545a"></a><!-- doxytag: member="ui.cpp::LCD_DISPLAYOFF" ref="a257ebe775cac7140cf82aa40d8ce545a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a257ebe775cac7140cf82aa40d8ce545a">LCD_DISPLAYOFF</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x00</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Display off </p>

</div>
</div>
<a class="anchor" id="a76236ae8317b34bbc98ea56bc0a2639c"></a><!-- doxytag: member="ui.cpp::LCD_DISPLAYON" ref="a76236ae8317b34bbc98ea56bc0a2639c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a76236ae8317b34bbc98ea56bc0a2639c">LCD_DISPLAYON</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#ab308a852199ed6405d3b29fadb59aeaf">LCD_DISPLAYMODE</a> | 0x04</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Display on </p>

</div>
</div>
<a class="anchor" id="a81e31d79eee716bfafcb39c30e44d00d"></a><!-- doxytag: member="ui.cpp::LCD_DISPLAYSHIFT" ref="a81e31d79eee716bfafcb39c30e44d00d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a81e31d79eee716bfafcb39c30e44d00d">LCD_DISPLAYSHIFT</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a5113b6e7fd93bd208cc7069593e22f1a">LCD_SHIFTMODE</a> | 0x08</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Display shift </p>

</div>
</div>
<a class="anchor" id="afba3f19c801c99fc991eee0b587a32e1"></a><!-- doxytag: member="ui.cpp::LCD_DISPLAYSHIFTOFF" ref="afba3f19c801c99fc991eee0b587a32e1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#afba3f19c801c99fc991eee0b587a32e1">LCD_DISPLAYSHIFTOFF</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a> | 0x00</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Display is not shifted </p>

</div>
</div>
<a class="anchor" id="aaa223772fb2e3adc94ff439628f60054"></a><!-- doxytag: member="ui.cpp::LCD_DISPLAYSHIFTON" ref="aaa223772fb2e3adc94ff439628f60054" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#aaa223772fb2e3adc94ff439628f60054">LCD_DISPLAYSHIFTON</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a> | 0x01</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Display is shifted </p>

</div>
</div>
<a class="anchor" id="a3147f4736f3c4bc12c5ac628f0f580ae"></a><!-- doxytag: member="ui.cpp::LCD_ENTRYMODE" ref="a3147f4736f3c4bc12c5ac628f0f580ae" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a>&#160;&#160;&#160;0x04</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set entrymode </p>

</div>
</div>
<a class="anchor" id="a3147f4736f3c4bc12c5ac628f0f580ae"></a><!-- doxytag: member="ui.cpp::LCD_ENTRYMODE" ref="a3147f4736f3c4bc12c5ac628f0f580ae" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a>&#160;&#160;&#160;0x04</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set entrymode </p>

</div>
</div>
<a class="anchor" id="ae0e309ccad89222eb3457f2da9f2bb8d"></a><!-- doxytag: member="ui.cpp::LCD_HOME" ref="ae0e309ccad89222eb3457f2da9f2bb8d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#ae0e309ccad89222eb3457f2da9f2bb8d">LCD_HOME</a>&#160;&#160;&#160;0x02</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Cursor move to first digit </p>

</div>
</div>
<a class="anchor" id="a39d1b2b516dc1d91680b427a21576cbd"></a><!-- doxytag: member="ui.cpp::LCD_INCREASE" ref="a39d1b2b516dc1d91680b427a21576cbd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a39d1b2b516dc1d91680b427a21576cbd">LCD_INCREASE</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3147f4736f3c4bc12c5ac628f0f580ae">LCD_ENTRYMODE</a> | 0x02</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set cursor move direction -- Increase </p>

</div>
</div>
<a class="anchor" id="af113696b5954bfa7c1f98f94162f5025"></a><!-- doxytag: member="ui.cpp::LCD_LEFT" ref="af113696b5954bfa7c1f98f94162f5025" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#af113696b5954bfa7c1f98f94162f5025">LCD_LEFT</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a5113b6e7fd93bd208cc7069593e22f1a">LCD_SHIFTMODE</a> | 0x00</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Left shift </p>

</div>
</div>
<a class="anchor" id="ac13e5c4a453bfa9f5e0f52730725b849"></a><!-- doxytag: member="ui.cpp::LCD_RIGHT" ref="ac13e5c4a453bfa9f5e0f52730725b849" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#ac13e5c4a453bfa9f5e0f52730725b849">LCD_RIGHT</a>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a5113b6e7fd93bd208cc7069593e22f1a">LCD_SHIFTMODE</a> | 0x04</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Right shift </p>

</div>
</div>
<a class="anchor" id="aae6ea856879c11dee58493184582a52f"></a><!-- doxytag: member="ui.cpp::LCD_SETCGRAMADDR" ref="aae6ea856879c11dee58493184582a52f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#aae6ea856879c11dee58493184582a52f">LCD_SETCGRAMADDR</a>&#160;&#160;&#160;0x40</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5113b6e7fd93bd208cc7069593e22f1a"></a><!-- doxytag: member="ui.cpp::LCD_SHIFTMODE" ref="a5113b6e7fd93bd208cc7069593e22f1a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a5113b6e7fd93bd208cc7069593e22f1a">LCD_SHIFTMODE</a>&#160;&#160;&#160;0x10</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set shiftmode </p>

</div>
</div>
<a class="anchor" id="aa8ad138d49ec2346d6945e64e3f00d6d"></a><!-- doxytag: member="ui.cpp::lcdCommand" ref="aa8ad138d49ec2346d6945e64e3f00d6d" args="(value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#aa8ad138d49ec2346d6945e64e3f00d6d">lcdCommand</a></td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">value</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3e561bc77ddcf221aa2915e8fb8eea09">lcdWriteByte</a>(value,0)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a36818100c5fc56342b1e7b3bbc9d81ce"></a><!-- doxytag: member="ui.cpp::lcdPutChar" ref="a36818100c5fc56342b1e7b3bbc9d81ce" args="(value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a36818100c5fc56342b1e7b3bbc9d81ce">lcdPutChar</a></td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">value</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="ui_8cpp.html#a3e561bc77ddcf221aa2915e8fb8eea09">lcdWriteByte</a>(value,1)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a18b97b32e277e5cc9178cf4d56f62b1d"></a><!-- doxytag: member="ui.cpp::UI_MAIN" ref="a18b97b32e277e5cc9178cf4d56f62b1d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="ui_8cpp.html#a18b97b32e277e5cc9178cf4d56f62b1d">UI_MAIN</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a4cdb62ccad20bd76e7ff3da83985b54d"></a><!-- doxytag: member="ui.cpp::beep" ref="a4cdb62ccad20bd76e7ff3da83985b54d" args="(uint8_t duration, uint8_t count)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="ui_8h.html#a4cdb62ccad20bd76e7ff3da83985b54d">beep</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>duration</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a51abf76c96ed0ae2c505323ecedfc4f9"></a><!-- doxytag: member="ui.cpp::initializeLCD" ref="a51abf76c96ed0ae2c505323ecedfc4f9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="ui_8cpp.html#a51abf76c96ed0ae2c505323ecedfc4f9">initializeLCD</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3e561bc77ddcf221aa2915e8fb8eea09"></a><!-- doxytag: member="ui.cpp::lcdWriteByte" ref="a3e561bc77ddcf221aa2915e8fb8eea09" args="(uint8_t c, uint8_t rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="ui_8cpp.html#a3e561bc77ddcf221aa2915e8fb8eea09">lcdWriteByte</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>rs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a195cf99cd3169a22267c9f360eade22f"></a><!-- doxytag: member="ui.cpp::lcdWriteNibble" ref="a195cf99cd3169a22267c9f360eade22f" args="(uint8_t value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="ui_8cpp.html#a195cf99cd3169a22267c9f360eade22f">lcdWriteNibble</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a32b8b6c70243d0639768d33f8d1c6a5b"></a><!-- doxytag: member="ui.cpp::UI_STRING" ref="a32b8b6c70243d0639768d33f8d1c6a5b" args="(ui_text_on, UI_TEXT_ON)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ui_8cpp.html#a06d95f9c35dbf3afa1e651d343702d95">UI_STRING</a> </td>
          <td>(</td>
          <td class="paramtype">ui_text_on&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uilang_8h.html#aa039bf64c490cd73b1a6e16caa46a4a2">UI_TEXT_ON</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1111afb97100e43e93fdcf67e7da4288"></a><!-- doxytag: member="ui.cpp::UI_STRING" ref="a1111afb97100e43e93fdcf67e7da4288" args="(ui_text_off, UI_TEXT_OFF)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ui_8cpp.html#a06d95f9c35dbf3afa1e651d343702d95">UI_STRING</a> </td>
          <td>(</td>
          <td class="paramtype">ui_text_off&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uilang_8h.html#a952424f60bfb4a419437255f98efc26b">UI_TEXT_OFF</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab3dec4b7077981b28c49f1fac9f0e735"></a><!-- doxytag: member="ui.cpp::UI_STRING" ref="ab3dec4b7077981b28c49f1fac9f0e735" args="(ui_text_na, UI_TEXT_NA)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ui_8cpp.html#a06d95f9c35dbf3afa1e651d343702d95">UI_STRING</a> </td>
          <td>(</td>
          <td class="paramtype">ui_text_na&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uilang_8h.html#af11d790de645d7abec8f2d959d3d469b">UI_TEXT_NA</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3ff1ecdf52b2628ce8f62a41bfc629f3"></a><!-- doxytag: member="ui.cpp::UI_STRING" ref="a3ff1ecdf52b2628ce8f62a41bfc629f3" args="(ui_yes, UI_TEXT_YES)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ui_8cpp.html#a06d95f9c35dbf3afa1e651d343702d95">UI_STRING</a> </td>
          <td>(</td>
          <td class="paramtype">ui_yes&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uilang_8h.html#af875093d60c869d9d220639773e7fe44">UI_TEXT_YES</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aba99ec5017e73426b1360b75c0310351"></a><!-- doxytag: member="ui.cpp::UI_STRING" ref="aba99ec5017e73426b1360b75c0310351" args="(ui_no, UI_TEXT_NO)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ui_8cpp.html#a06d95f9c35dbf3afa1e651d343702d95">UI_STRING</a> </td>
          <td>(</td>
          <td class="paramtype">ui_no&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uilang_8h.html#a3c834a26324a0310259a44a59705dafe">UI_TEXT_NO</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a66750cecff779abda3aef0590c1f7edf"></a><!-- doxytag: member="ui.cpp::UI_STRING" ref="a66750cecff779abda3aef0590c1f7edf" args="(ui_print_pos, UI_TEXT_PRINT_POS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ui_8cpp.html#a06d95f9c35dbf3afa1e651d343702d95">UI_STRING</a> </td>
          <td>(</td>
          <td class="paramtype">ui_print_pos&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uilang_8h.html#aa825a559509ddb0e533cc1ffdd7eff70">UI_TEXT_PRINT_POS</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a72a0495829c704347c568a2e21467825"></a><!-- doxytag: member="ui.cpp::UI_STRING" ref="a72a0495829c704347c568a2e21467825" args="(ui_selected, UI_TEXT_SEL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ui_8cpp.html#a06d95f9c35dbf3afa1e651d343702d95">UI_STRING</a> </td>
          <td>(</td>
          <td class="paramtype">ui_selected&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uilang_8h.html#ab0892f8a2b19d0411d07376cfc5705c4">UI_TEXT_SEL</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa95b597ea8b2ef46e3bf9760925a140f"></a><!-- doxytag: member="ui.cpp::UI_STRING" ref="aa95b597ea8b2ef46e3bf9760925a140f" args="(ui_unselected, UI_TEXT_NOSEL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ui_8cpp.html#a06d95f9c35dbf3afa1e651d343702d95">UI_STRING</a> </td>
          <td>(</td>
          <td class="paramtype">ui_unselected&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uilang_8h.html#a6bacecdd8f9768333d535e5506790c0c">UI_TEXT_NOSEL</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a06d95f9c35dbf3afa1e651d343702d95"></a><!-- doxytag: member="ui.cpp::UI_STRING" ref="a06d95f9c35dbf3afa1e651d343702d95" args="(ui_action, UI_TEXT_STRING_ACTION)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ui_8cpp.html#a06d95f9c35dbf3afa1e651d343702d95">UI_STRING</a> </td>
          <td>(</td>
          <td class="paramtype">ui_action&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uilang_8h.html#ab7ca1ef374d0b7ebf55b8586a951f667">UI_TEXT_STRING_ACTION</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="adfe2d690c1658419a8668f48b413cee7"></a><!-- doxytag: member="ui.cpp::displayCache" ref="adfe2d690c1658419a8668f48b413cee7" args="[UI_ROWS][MAX_COLS+1]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="ui_8cpp.html#adfe2d690c1658419a8668f48b413cee7">displayCache</a>[<a class="el" href="uiconfig_8h.html#abc388782791eea22ff9ca1b2a97c1cd7">UI_ROWS</a>][<a class="el" href="ui_8h.html#a551f71f92f90f76151a3cfc9679271a0">MAX_COLS</a>+1]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af4952426d62b2959a9efef4ba8053d47"></a><!-- doxytag: member="ui.cpp::printCols" ref="af4952426d62b2959a9efef4ba8053d47" args="[MAX_COLS+1]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="ui_8cpp.html#af4952426d62b2959a9efef4ba8053d47">printCols</a>[<a class="el" href="ui_8h.html#a551f71f92f90f76151a3cfc9679271a0">MAX_COLS</a>+1]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a61abc9bffd735ea18438e5b67051d0dd"></a><!-- doxytag: member="ui.cpp::PROGMEM" ref="a61abc9bffd735ea18438e5b67051d0dd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="struct_u_i_menu.html">UIMenu</a>* const ui_pages [UI_NUM_PAGES] <a class="el" href="ui_8h.html#a0ecb7d204e04196a839885837c052002">PROGMEM</a> = {0,0,-1,0,0,0,0,1,1,0,0,0,0,-1,0,0}</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab0a52fa48d1f24b6cd4d3a439067e178"></a><!-- doxytag: member="ui.cpp::ui_autoreturn_time" ref="ab0a52fa48d1f24b6cd4d3a439067e178" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="ui_8cpp.html#ab0a52fa48d1f24b6cd4d3a439067e178">ui_autoreturn_time</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a03d0d829c6e013e9d5817ed2fdd45a9d"></a><!-- doxytag: member="ui.cpp::uid" ref="a03d0d829c6e013e9d5817ed2fdd45a9d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_display.html">UIDisplay</a> <a class="el" href="ui_8h.html#a03d0d829c6e013e9d5817ed2fdd45a9d">uid</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="ui_8cpp.html">ui.cpp</a>      </li>

    <li class="footer">Generated on Mon Dec 30 2013 18:53:03 for Repetier-Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
